package com.navinfo.app.hd;

import android.app.Activity;
import android.os.Bundle;

import androidx.annotation.Nullable;
import androidx.room.Room;

//import net.sqlcipher.database.SQLiteDatabase;
//import net.sqlcipher.database.SupportFactory;

import java.io.File;
import java.nio.charset.StandardCharsets;


public class SpatialiteTest extends Activity {
    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        initializeSQLCipher();
    }

    private void initializeSQLCipher() {
//        SQLiteDatabase.loadLibs(this);
//        File databaseFile = getDatabasePath("demo.db");
//        databaseFile.mkdirs();
//        databaseFile.delete();
//        SQLiteDatabase database = SQLiteDatabase.openOrCreateDatabase(databaseFile, "test123", null);
//        database.execSQL("create table t1(a, b)");
//        database.execSQL("insert into t1(a, b) values(?, ?)", new Object[]{"one for the money",
//                "two for the show"});
    }
}
